//package com.inspur.edp.cef.generator.repository.adaptor.adaptoritem;
//
//import com.inspur.edp.caf.generator.baseInfo.TypeInfo;
//import com.inspur.edp.caf.generator.field.FieldGenerator;
//import com.inspur.edp.cef.repository.adaptoritem.BaseAdaptorItem;
//import com.inspur.edp.cef.repository.adaptoritem.SqlSnippetCache;
//import com.inspur.edp.cef.repository.dac.EntityDac;
//import org.eclipse.jdt.core.dom.ClassInstanceCreation;
//import org.eclipse.jdt.core.dom.Expression;
//import org.eclipse.jdt.core.dom.Modifier;
//
//import java.util.ArrayList;
//
//public class BaseAdaptorItemVarGenerator extends FieldGenerator
//{
//	public static String adaptorItemVarName = "adaptorItem";
//	private String nodeCode = "";
//	public BaseAdaptorItemVarGenerator(String nodeCode)
//	{
//		this.nodeCode = nodeCode;
//	}
//
//	@Override
//	protected ArrayList<Modifier.ModifierKeyword> getAccessModifier() {
//		return new ArrayList<Modifier.ModifierKeyword>(java.util.Arrays.asList(new Modifier.ModifierKeyword[] { Modifier.ModifierKeyword.PRIVATE_KEYWORD}));
//	}
//
//	@Override
//	protected String getFieldName()
//	{
//		return adaptorItemVarName;
//	}
//
//	@Override
//	protected Expression buildGetMethodBody() {
//		ClassInstanceCreation classInstanceCreation = ast.newClassInstanceCreation();
//		classInstanceCreation.setType(ast.newSimpleType(ast.newSimpleName(this.nodeCode + "BaseAdaptorItem")));
//		classInstanceCreation.arguments().add(ast.newThisExpression());
//		return classInstanceCreation;
//	}
//	@Override
//	protected TypeInfo getFieldType() {
//		TypeInfo typeInfo=new TypeInfo(BaseAdaptorItem.class);
//		return typeInfo;
//	}
//}